package com.liuqi.business.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.liuqi.business.enums.SwitchEnum;
import lombok.Data;

@Data
public class CurrencyRechargeModelDto extends CurrencyRechargeModel{

	private String currencyName;
	private String protocolStr;

	private String rechargeSwitchStr;


	@JsonIgnore
	private String sortName="recharge_switch desc,position";
	@JsonIgnore
	private String sortType="asc";

	public String getRechargeSwitchStr() {
		return SwitchEnum.getName(super.getRechargeSwitch());
	}

	private Long curBlock;
}
